package AEtoile;
import reseau.WayPoint;


public class Frontier 
{
	private WayPoint _wp;
	private WayPoint _parent;
	private double _cout;  //cout total
	private double _coutFix;
	
	public Frontier(WayPoint wp, WayPoint parent, double cout, double coutFix)
	{
		this.setWP(wp);
		this.setParent(parent);
		this.setCout(cout);
		this.setCoutFix(coutFix);
	}
	public void setWP(WayPoint wp)
	{
		this._wp = wp;
	}
	public WayPoint getWP()
	{
		return this._wp;
	}
	public void setParent(WayPoint p)
	{
		this._parent = p;
	}
	public WayPoint getParent()
	{
		return this._parent;
	}
	public void setCout(double cout)
	{
		this._cout = cout;
	}
	public double getCout()
	{
		return this._cout;
	}
	public void setCoutFix(double cout)
	{
		this._coutFix = cout;
	}
	public double getCoutFix()
	{
		return this._coutFix;
	}
}
